package com.ybear.wechatpatdemo.holder;

import android.view.ViewGroup;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.ybear.patsdk.widget.PatView;
import com.ybear.wechatpatdemo.R;
import com.ybear.ybcomponent.base.adapter.BaseViewHolder;

public class PatMsgHolder extends BaseViewHolder {
    private PatView pvPatView;
    private TextView tvMsg;
    public PatMsgHolder(@NonNull ViewGroup parent, int itemRes) {
        super(parent, itemRes);
        pvPatView = getItemView().findViewById( R.id.item_pat_pv_user_photo );
        tvMsg = getItemView().findViewById( R.id.item_pat_tv_msg );
    }

    public PatView getPatView() { return pvPatView; }
    public TextView getMsg() { return tvMsg; }
}
